<!--用户发言路由-->
<script lang="ts" setup>

import {TopicListRoute} from "../../router";

const props = defineProps({
  userId: {type: Number, required: true}, reply: {type: Boolean,}
});
</script>

<template>
  <router-link :to="{name:reply?TopicListRoute.USER_REPLIES:TopicListRoute.USER_TOPIC ,params:{ userId}}" class="clickable clean-a">
    <slot/>
  </router-link>
</template>

<style scoped>

</style>